﻿
using System.Collections.ObjectModel;
namespace MyFloridaHouse.libSvOpenDistricts.ViewModel
{
    public partial class ViewModelBase
    {
        #region properties
        private bool _isHelpAboutActive = false;
        public bool isHelpAboutActive
        {
            get { return _isHelpAboutActive; }
            set
            {
                if (_isHelpAboutActive != value)
                {
                    _isHelpAboutActive = value;
                    NotifyPropertyChanged("isHelpAboutActive");
                }
            }
        }


        #endregion

        #region commands

        #region Help About
        private bool CmdHelpAboutCanExecute(object parameter)
        {
            return true;
        }

        private void CmdHelpAboutExecute(object parameter)
        {
            isHelpAboutActive = true;
        }
        #endregion

        #region Help About OK
        private bool CmdHelpAboutOKCanExecute(object parameter)
        {
            return true;
        }

        private void CmdHelpAboutOKExecute(object parameter)
        {
            isHelpAboutActive = false;
        }
        #endregion

        #endregion


    }
}
